home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- # Give root the keys to the DISPLAY
- xauth list | sed "s/.*:[^ ]*/add $DISPLAY/" | xauth -f /.Xauthority
-
- # if the DISPLAY does not contain a host name,
- # also give the keys to the tcp/ip domain DISPLAY name.
- host=`echo $DISPLAY | sed "s/:.*/X/"`
- if [ $host = "X" ]
- then
- xauth list | sed "s/.*:[^ ]*/add `hostname`$DISPLAY/" | xauth -f /.Xauthority
- fi
-
- #start clients
- xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
- xwalld
-